/**
 * Created by sitm on 2018/4/23.
 */
let baseUrl = ''
if(process.env.NODE_ENV === 'production'){
  baseUrl = '';
}else{
  baseUrl = '/api';
}
export default {
  //首页
  index(){
    return baseUrl +'/h5//Policy/index';
  },
  //发送验证码
  send_sms(){
    return baseUrl + '/h5//Policy/send_sms'
  },
  //支付
  add_policy(){
    return baseUrl + '/h5//Policy/add_policy'
  },
  //订单
  confirm_order(){
    return baseUrl + '/h5//Policy/confirm_order'
  },
  //支付宝支付
  orderpay(){
    return baseUrl + '/h5//Policy/orderpay'
  },
// 列表取消支付
  closeOrder(){
    return baseUrl + '/h5//Policy/close_order'
  }

};

